package com.uls.found.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 招领记录对象 edu_record_recruitment
 * 
 * @author ruoyi
 * @date 2024-10-30
 */
public class EduRecordRecruitment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 招领记录id */
    private Long foundId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 招领物品名称 */
    @Excel(name = "招领物品名称")
    private String foundName;

    /** 招领物品描述 */
    @Excel(name = "招领物品描述")
    private String foundDescription;

    /** 招领时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "招领时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date foundTime;

    /** 招领地点 */
    @Excel(name = "招领地点")
    private String foundLocation;

    /** 电话联系 */
    @Excel(name = "电话联系")
    private String phone;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idNumber;

    /** 物品分类 */
    @Excel(name = "物品分类")
    private Long itemCategories;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除标志（0代表存在 2代表删除） */
    private Integer delFlag;

    public void setFoundId(Long foundId) 
    {
        this.foundId = foundId;
    }

    public Long getFoundId() 
    {
        return foundId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setFoundName(String foundName) 
    {
        this.foundName = foundName;
    }

    public String getFoundName() 
    {
        return foundName;
    }
    public void setFoundDescription(String foundDescription) 
    {
        this.foundDescription = foundDescription;
    }

    public String getFoundDescription() 
    {
        return foundDescription;
    }
    public void setFoundTime(Date foundTime) 
    {
        this.foundTime = foundTime;
    }

    public Date getFoundTime() 
    {
        return foundTime;
    }
    public void setFoundLocation(String foundLocation) 
    {
        this.foundLocation = foundLocation;
    }

    public String getFoundLocation() 
    {
        return foundLocation;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setItemCategories(Long itemCategories) 
    {
        this.itemCategories = itemCategories;
    }

    public Long getItemCategories() 
    {
        return itemCategories;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("foundId", getFoundId())
            .append("studentId", getStudentId())
            .append("foundName", getFoundName())
            .append("foundDescription", getFoundDescription())
            .append("foundTime", getFoundTime())
            .append("foundLocation", getFoundLocation())
            .append("phone", getPhone())
            .append("idNumber", getIdNumber())
            .append("itemCategories", getItemCategories())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
